package com.chang.product.feign;

import com.chang.common.to.SkuEsModel;
import com.chang.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/*
 * @Author Changzhenxi
 * @Date 2024/6/5 9:31
 * @Description This is description of method
 */
@FeignClient("search")
public interface SearchFeignService {

    @PostMapping("search/save/product")
    R productStatusUp(@RequestBody List<SkuEsModel> skuEsModels);
}
